package com.taru.model;

import java.util.Date;
//农户介绍表
public class Garden {
    private String gardenId;
    private String gardenName;//名称
    private String gardenDetail;//详情
    private String userId;//专家或者农户id
    private Photo photo;
    private Date createDate;
    private Date upDate;
    private String status;


    public Photo getPhoto() {
        return photo;
    }

    public void setPhoto(Photo photo) {
        this.photo = photo;
    }


    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return upDate;
    }

    public void setUpdateDate(Date upDate) {
        this.upDate = upDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getGardenId() {
        return gardenId;
    }

    public void setGardenId(String gardenId) {
        this.gardenId = gardenId;
    }

    public String getGardenName() {
        return gardenName;
    }

    public void setGardenName(String gardenName) {
        this.gardenName = gardenName;
    }

    public String getGardenDetail() {
        return gardenDetail;
    }

    public void setGardenDetail(String gardenDetail) {
        this.gardenDetail = gardenDetail;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }


    @Override
    public String toString() {
        return "Garden{" +
                "gardenId='" + gardenId + '\'' +
                ", gardenName='" + gardenName + '\'' +
                ", gardenDetail='" + gardenDetail + '\'' +
                ", userId='" + userId + '\'' +
                ", createDate=" + createDate +
                ", upDate=" + upDate +
                ", status='" + status + '\'' +
                '}';
    }


}
